﻿using System;
using UserAgentDetection;

namespace Medianamik.DummyWebSite.__decoupages.MasterPages
{
    public partial class Decoupage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        
        private string _cssUserAgent;
        public string CssUserAgent
        {
            get
            {
                if (string.IsNullOrEmpty(_cssUserAgent))
                {
                    var cssUserAgent = new CssUserAgent(Request);
                    _cssUserAgent = cssUserAgent.GetCssUserAgent();
                }
                return _cssUserAgent;
            }
        }
        public string BodyId { get; set; }
        public string BodyCss { get; set; }
    }
}
